using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web;
using MeetingRoom.Domain;
using MeetingRoom.Service;

namespace MeetingRoom.Service.Implementation
{
    /// <summary>
    /// Summary description for Authentication
    /// </summary>
    public class SimpleAuthenticationService : IAuthenticationService
    {
        public SimpleAuthenticationService()
        {

        }

        #region IAuthenticationService Members

        bool IAuthenticationService.IsRegisteredAccount(string accountName)
        {
            return true;
        }

        MeetingRoom.Domain.Staff IAuthenticationService.GetAccount(string userName, string password)
        {
            Staff account = new Staff();
            account.Name = userName;
            account.Password = password;

            return account;
        }

        #endregion
    }
}